package com.lagou.dao;

import com.lagou.pojo.CUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface CUserDao extends JpaRepository<CUser, Long>, JpaSpecificationExecutor<CUser> {
	/**
	 * 命名规则查询
	 */
	public List<CUser> findByPwd(String pwd);
}
